<template>
  <div class="child">
    {{name}} - {{age}}
  </div>
</template>

<script>
  export default {
    name:'Child',
    props:['name','age']
  }
</script>

<style scoped>
  .child {
    margin: 10px 0px;
    background-color: skyblue;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px;
  }
</style>